package com.example.designpatterns.model.iterator;

/**
 * @author yanyun zhu
 * @version 1.0
 * @date 2022/1/6 17:43
 */
public interface Iterator<E> {

    boolean hasNext();
    void next();
    E currentItem();

}
